package entity;

import java.io.Serializable;

public class GoodsItem implements Serializable {
    private Commodity commodity;
    private Integer quality;

    public GoodsItem() {
    }

    public GoodsItem(Commodity commodity, Integer quality) {
        this.commodity = commodity;
        this.quality = quality;
    }

    public Commodity getCommodity() {
        return commodity;
    }

    public void setCommodity(Commodity commodity) {
        this.commodity = commodity;
    }

    public Integer getQuality() {
        return quality;
    }

    public void setQuality(Integer quality) {
        this.quality = quality;
    }
}
